]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH 05/14] lib-mail: Add count field to struct message_address_list
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 17 Apr 2026 13:46:10 +0000 (15:46 +0200)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commita694a694600c622be7fa935228340843a776fac3
tree571a4286a0aca309184734773ff11d3a4f6a22e4
parentc0fe328ed9744aba3b0a79f0843aeb9d365268ec
[PATCH 05/14] lib-mail: Add count field to struct message_address_list

Add a count field and increment it in add_address() so callers can read
the number of parsed addresses directly from the list struct without
walking the linked list.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Gbp-Pq: Name 0005-lib-mail-Add-count-field-to-struct-message_address_l.patch
src/lib-mail/message-address.c
src/lib-mail/message-address.h
src/lib-mail/message-part-data.c